package com.qike.duola.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @Author: Eric.zhou
 * @Date: 2020/8/24 10:52
 */
@ApiModel
public class ResourceVo {

    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("图标地址")
    private String icon;
    @ApiModelProperty("地址")
    private String url;
    @ApiModelProperty("排序")
    private Integer sort;

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @ApiModelProperty("是否选中")
    private Boolean check;
    @ApiModelProperty("父级id")
    private Long parentId;
    @ApiModelProperty("子级")
    private List<ResourceVo> child;

    public Boolean getCheck() {
        return check;
    }

    public void setCheck(Boolean check) {
        this.check = check;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<ResourceVo> getChild() {
        return child;
    }

    public void setChild(List<ResourceVo> child) {
        this.child = child;
    }
}
